import javax.script.ScriptContext;
import java.util.Scanner;

public class DAY0408 {
    public static void main1(String[] args) {
        Scanner sc=new Scanner(System.in);
        while (sc.hasNext()){
            String sr=sc.nextLine();
            StringBuilder sr1=new StringBuilder();
            for (int i = 0; i < sr.length(); i++) {
                char c= sr.charAt(i);
                if(c==' '){
                    sr1.append(" ");
                }else {
                    sr1.append((char)((c>'E')?c-5:c+21) );
                }
            }
            System.out.println(sr1);
        }
    }

    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        while (sc.hasNext()){
            int n=sc.nextInt();
            int count=0;
            for (int i = 2; i <Math.sqrt(n) ; i++) {
                if(n%i==0){
                    while (n%i==0){
                        n=n/i;
                    }
                    count++;
                }
            }
            if(n!=1){
                count++;
            }
            System.out.println(count);
        }
    }
}
